<!DOCTYPE html>
<html>

<head>
    <include file="Share:meta" />
    <style type="text/css">
    .trstyle0 {
        background-color: #e8e8e8;
    }
    .desc{ font-size: 12px; color: #999; }
    </style>
</head>

<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <include file="Share:header" />
        <include file="Share:left" />
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>订单列表<small><a target="_blank"></a></small></h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">订单列表</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">列表</h3>
                        <div class="box-tools">
                            <form action="" method="GET" role="form">
                                <div class="input-group input-group-sm" style="width: 250px;">
                                    <input type="text" name="order_no" class="form-control pull-right" placeholder="Search">
                                    <div class="input-group-btn">
                                        <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table class="table table-bordered HjTable" border="1">
                            <tbody>
                                <tr style="background-color: #E6E6FA;">
                                    <th style="width: 5%;">订单号</th>
                                    <th style="width: 5%;">文件</th>
                                    <th style="width: 5%;">数量</th>
                                    <th style="width: 10%;">订单状态</th>
                                    <th style="width: 25%;">联系人</th>
                                    <th style="width: 10%;">名片属性</th>
                                    <th style="width: 10%"></th>
                                </tr>
                                <volist name="list" id="vo">
                                    <tr class='trstyle{$vo.status}'>
                                        <!--class='trstyle{$vo.status}' -->
                                        <td>{$vo.order_no}</td>
                                        <td>
                                            <empty name="vo.order_img">
                                                暂无文件
                                                <else />
                                                <a class="btn btn-large btn-block btn-default" href="__APP__/Admin/Order/download/order_no/{$vo.order_no}" role="button" target="_blank">下载文件</a>
                                            </empty>
                                        </td>
                                        <td>{$vo.number}</td>
                                        <td>{$orderStatus[$vo[order_status]]}</td>
                                        <td>
                                            {$vo.shipping_name} / {$vo.shipping_mobile}<br>
                                            {$vo.shipping_province}{$vo.shipping_city}{$vo.shipping_distinct}<br>
                                            {$vo.shipping_address}<br>
                                            {$vo.ctime}
                                        </td>
                                        <td>
                                        <p class="desc">外包装：</p>
                                        <p>{$vo.product_outside_name}</p>
                                        <p class="desc">内包装：</p>
                                        <p>{$vo.product_inside_name}</p>
                                        </td>
                                        <td>
                                            <a class="btn btn-info" href="__APP__/Admin/Order/factoryOrderDetail/order_no/{$vo.order_no}" role="button">查看详情</a>
                                        </td>
                                    </tr>
                                </volist>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer clearfix">
                        <ul class="pagination pagination-sm no-margin pull-right">
                            {$show}
                        </ul>
                    </div>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <include file="Share:copyright" />
        <include file="Share:setting" />
    </div>
    <include file="Share:js" />
    <script type="text/javascript">
    $("#OrderManager").addClass("active");
    $("#order_factoryorder").addClass("active");
    </script>
</body>

</html>
